/**
 *  FloatConstantLocation.java : IceBird project
 *  17:33:57 
 */
package icebird.compiler.ncomp.vs;

import icebird.metadata.BasicType;

/**
 * @author Sergey Shulepoff[Knott]
 */
public final class FloatConstantLocation extends ConstLocation {

	private float value;
	
	/**
	 * @param dta
	 */
	public FloatConstantLocation(float v) {
		super("float(" + v + ")");
		value = v;
	}
	
	public float getValue() {
		return value;
	}

	/* (non-Javadoc)
	 * @see icebird.compiler.ncomp.vs.ConstLocation#getType()
	 */
	public BasicType getType() {
		return BasicType.Float;
	}

}
